<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Light2</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/styles.css">
  </head>
  
  <body>
	<!-- header -->
	<div id="header">
		<div id="logo"><img src="images/logo_small2.png"/></div>
	</div>
	<!-- // header -->
	<!-- nav -->
	<div id="nav">
	</div>
	<!-- // nav -->
	<!-- container -->
	<div id="container">
		<!-- contents -->
		<div id="contents">
			<div id="regist_form">
	        	<form method="post" name="register" action="user_add" onSubmit="return checkdata()">
	            	<h2>Beginning to use</h2>
	            	<table>	            		
	                	<tr><td>User Name: </td><td><input name="user.username" type="text"/></td></tr>
	                    <tr><td>Password: </td><td><input name="user.password" type="password"/></td></tr>
	                    <tr><td>Confirm Password: </td><td><input name="password2" type="password"/></td></tr>
	                    <tr><td>Name: </td><td><input name="user.name" type="text"/></td></tr>
	                    <tr><td>ID Card: </td><td><input name="user.idcard" type="text" /></td></tr>
	                    <tr><td>Sex: </td>
	                    <td>
	                    	<select name = "user.sex">
	                    		<option value="M">Male</option>
	                    		<option value="F">Female</option>
	                    	</select>
	                    <tr><td>Age: </td><td><input name="user.age" type="text"/></td></tr>
	                    <tr><td>Phone: </td><td><input name="user.phone" type="text"/></td></tr>
	                    <tr><td>Address: </td><td><input name="user.addr" type="text"/></td></tr>
	                    <tr><td/><td/></tr>                  
	                </table>
	                <center><input name="regsubmit" type="submit" value="OK! Create a new acount!"/></center>
	            </form>
	        </div>
	    </div>
	    <!-- // contents -->
	</div>
	<!-- // container -->
	<div id="footer">
		<div id="bs_stdio">
	    	©2011-2011 www.bluesky.com.mo All Rights Reserved<br/>
	    	<img src="images/bluesky_logo.png" />
	    </div>
	</div>
  </body>
</html>
